//
//  Team9InspirationCollectionViewCell.m
//  Team9Project
//
//  Created by 朱嘉祺 on 15/10/12.
//  Copyright © 2015年 apple. All rights reserved.
//

#import "Team9InspirationCollectionViewCell.h"
#import <Masonry.h>


@implementation Team9InspirationCollectionViewCell

//- (void)awakeFromNib{
//    [self createView];
//}

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self createView];
    }
    return self;
}

- (void)createView{
    self.imageView = [[UIImageView alloc] init];
    [self.contentView addSubview:self.imageView];
    
}

- (void)layoutSubviews{
    [super layoutSubviews];
    [self.imageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self);
        
    }];
    

}

@end
